package com.bjtu.literatureclient.api.vo.response;


import com.bjtu.literatureclient.domain.journal.JournalChinese;

/**
 * @author caiyuli
 * @date 2020/4/29 9:01 上午
 */
public class JournalCnResponse {

    private String indexNo;
    private String journalName2;
    private String journalName1;
    private String iSSN;
    private int institutionID;
    private int foundYear;
    private String releaseCycles;
    private String note;
    private String journalEmail;
    private String CN;


    public static JournalCnResponse of(JournalChinese journalChinese){
        JournalCnResponse response = new JournalCnResponse();

        response.setIndexNo(journalChinese.getIndexNo());
        response.setJournalName1(journalChinese.getJournalName1());
        response.setJournalName2(journalChinese.getJournalName2());
        response.setiSSN(journalChinese.getiSSN());
        response.setCN(journalChinese.getCN());
        response.setFoundYear(journalChinese.getFoundYear());
        response.setInstitutionID(journalChinese.getInstitutionID());
        response.setJournalEmail(journalChinese.getJournalEmail());
        response.setNote(journalChinese.getNote());
        response.setReleaseCycles(journalChinese.getReleaseCycles());

        return response;
    }


    public String getIndexNo() {
        return indexNo;
    }

    public void setIndexNo(String indexNo) {
        this.indexNo = indexNo;
    }

    public String getJournalName2() {
        return journalName2;
    }

    public void setJournalName2(String journalName2) {
        this.journalName2 = journalName2;
    }

    public String getJournalName1() {
        return journalName1;
    }

    public void setJournalName1(String journalName1) {
        this.journalName1 = journalName1;
    }

    public String getiSSN() {
        return iSSN;
    }

    public void setiSSN(String iSSN) {
        this.iSSN = iSSN;
    }

    public int getInstitutionID() {
        return institutionID;
    }

    public void setInstitutionID(int institutionID) {
        this.institutionID = institutionID;
    }

    public int getFoundYear() {
        return foundYear;
    }

    public void setFoundYear(int foundYear) {
        this.foundYear = foundYear;
    }

    public String getReleaseCycles() {
        return releaseCycles;
    }

    public void setReleaseCycles(String releaseCycles) {
        this.releaseCycles = releaseCycles;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getJournalEmail() {
        return journalEmail;
    }

    public void setJournalEmail(String journalEmail) {
        this.journalEmail = journalEmail;
    }

    public String getCN() {
        return CN;
    }

    public void setCN(String CN) {
        this.CN = CN;
    }
}
